{
    "name": "webimpress/safe-writer",
    "description": "Tool to write files safely, to avoid race conditions",
    "license": "BSD-2-Clause",
    "keywords": [
        "webimpress",
        "safe writer",
        "file writer",
        "concurrent write",
        "race condition"
    ],
    "require": {
        "php": "^7.2 || ^8.0"
    },
    "require-dev": {
        "phpunit/phpunit": "^8.5.8 || ^9.3.7",
        "vimeo/psalm": "^3.14.2",
        "webimpress/coding-standard": "^1.1.5"
    },
    "autoload": {
        "psr-4": {
            "Webimpress\\SafeWriter\\": "src/"
        }
    },
    "autoload-dev": {
        "psr-4": {
            "WebimpressTest\\SafeWriter\\": "test/"
        }
    },
    "config": {
        "sort-packages": true
    },
    "extra": {
        "branch-alias": {
            "dev-master": "2.1.x-dev",
            "dev-develop": "2.2.x-dev",
            "dev-release-1.0": "1.0.x-dev"
        }
    },
    "scripts": {
        "check": [
            "@cs-check",
            "@test",
            "@static-analysis"
        ],
        "cs-check": "phpcs",
        "cs-fix": "phpcbf",
        "static-analysis": "psalm --shepherd --stats",
        "test": "phpunit --colors=always",
        "test-coverage": "phpunit --colors=always --coverage-clover clover.xml"
    }
}
